import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import React from "react";
const Footer: React.FC = () => {
  const defaultMessage = 'TwfPlayer';
  const currentYear = new Date().getFullYear();
  return (
    // TODO 此处为底部导航，可改
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          // key随意，唯一即可
          key: 'Twf用户中心',
          title: 'Twf用户中心',
          href: 'https://pro.ant.design',
          blankTarget: true,
        },
        {
          //todo 修改github地址或gitee标签
          key: 'github',
          title: (
            <>
              <GithubOutlined />
              TwfPlayer
            </>
          ),
          href: 'https://gitee.com/twf-player',
          blankTarget: true,
        },
      ]}
    />
  );
};
export default Footer;
